package org.wutopia.examples.pathmappings;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.MethodParameter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PatchMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

import java.util.Arrays;
import java.util.Set;

@RestController
@Slf4j
@AllArgsConstructor
public class MappingController {

    private RequestMappingHandlerMapping handlerMapping;

    @GetMapping("/ag")
    public String asge(String... bc) {
        return "agagd";
    }

    @PatchMapping("/ageg")
    public String adg(String a) {
        return "agagd";
    }


    @PutMapping("/ageggg")
    public String s(String ba) {



        return "agagd";
    }
}
